<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>The source code</title>
  <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  <style type="text/css">
    .highlight { display: block; background-color: #ddd; }
  </style>
  <script type="text/javascript">
    function highlight() {
      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
    }
  </script>
</head>
<body onload="prettyPrint(); highlight();">
  <pre class="prettyprint lang-js">&lt;?php
<span id='global-property-'>/**
</span> * Cube PHP Framework
 * 
 * The contents of this file are subject to the Mozilla Public License
 * Version 1.1 (the &quot;License&quot;); you may not use this file except in
 * compliance with the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 * 
 * @author Dillen / Steffen
 */

namespace Library\Mvc;

<span id='Library-Mvc-Controller'>/** 
</span> * Controller base class
 * 
 * 	$var = new Test('test');
 * 	$var-&gt;run();
 * 	
 * 	$downloads = $var-&gt;getDownloadQeue();
 * 
 * # Usage:
 * 
 * 	echo &quot;Hoi&quot;;
 * 
 * 
 * @class Library.Mvc.Controller
 * @extends Library.Web.WebApplication
 * @abstract
 */
abstract class Controller extends \Library\Web\WebApplication
{
<span id='Library-Mvc-Controller-property-layout'>	/**
</span>	 * Layout
	 * 
	 * @property {Library.Mvc.Layout} layout
	 * @var \Library\Mvc\Layout
	 */
	public $layout;
	
<span id='Library-Mvc-Controller-property-router'>	/**
</span>	 * Router instance
	 * 
	 * @property {Library.Mvc.Router} router
	 * @var \Library\Mvc\Router
	 */
	public $router;
	
<span id='Library-Mvc-Controller-property-request'>	/**
</span>	 * Request instance
	 * 
	 * @property {Library.Mvc.Request} request
	 * @var \Library\Mvc\Request
	 */
	public $request;
	
<span id='Library-Mvc-Controller-property-'>	/**
</span>	 * Event handler
	 * 
	 * @property {Library.Mvc.EventManager}
	 * @var \Library\Mvc\EventManager
	 */
	public $events;
	
<span id='Library-Mvc-Controller-method-__construct'>	/**
</span>	 * Abstract controller init
	 * 
	 * We do not use the constructor, because we need to inject several objects.
	 * 
	 * @method __construct
	 * @private
	 */
	final public function __construct()
	{
		parent::__construct();
	}
	
<span id='Library-Mvc-Controller-method-__init'>	/**
</span>	 * Initial method for constructor used by user
	 * 
	 * @method __init
	 */
	public function __init()
	{
		
	}
}
</pre>
</body>
</html>
